package com.yztstudy.Service;

import com.yztstudy.Entity.Order;

import java.util.List;

/**
 * Order的业务逻辑层接口
 */

public interface OrderService {

    public abstract Integer addOrder(Integer deskID); //添加订单

    public abstract List<Order> getAllOrders(); //获取所有的订单

    public abstract Integer pay(Integer deskID, Integer Oid); //结账
}
